import React from "react";
import { useRoutes } from "react-router-dom"
import RoutesList from "./routes";
const Router: React.FC = () => {
  const RouterView = () => useRoutes(RoutesList)
  return <RouterView></RouterView>;
};

export default Router;
